{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>

<style type="text/css">
.bg-1 {
  	height: 40px;
	background-color: #e5e5e5;
	border-bottom: 1px solid #e4e7ed;
}
 .radius1:hover{
 	color: #fff;
	border-color: #66b1ff;
	background-color: #66b1ff;
 }
 span:hover{
 	color: #333;
 }
 .btn-primary1 {
    color: #fff;
    background-color: #5a98de;
    border-color: #5a98de;
    height: 31px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 24px !important;
}
.text-c td a.zt_color {
    text-decoration: none !important;
    color: #333;
}
</style>
<body>
  <nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    系统管理
    <span class="c-gray en">&gt;</span>
    运营管理
    <span class="c-gray en">&gt;</span>
    新闻列表
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
  </nav>
  <div style="padding:20px;height:30px;">
  	
  	<div class="new_box">
  <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a style="color: #fff;background-color: #636363;border-color: #636363;" href="/admin/Operate/yx_xwnew.html?id=73&cid=65" method="post" class="btn btn-primary radius">新增新闻 </a></span></div>


<form style="font-size: 12px"
    action="/admin/operate/yx_xwpx" method="post">
     <div class="page-container">
      <div id="tab-system" class="HuiTab">
        <div class="tabCon">
          <div class="mt-20">
            <table
              class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
              <thead>
                <tr class="text-c">
                  <th>ID</th>
                  <th>新闻类型</th>
                  <th>新闻标题</th>
                  <th>发布时间</th>
                  <th>发布人</th>
                  <th>是否显示</th>
                  <th>排序</th>
                  <th>操作</th>
                </tr>
                
              </thead>
              <tbody>{volist name="list" id="DL"}
              
                <tr class="text-c">
                  <td>{$DL.id}</td>
                  <td>{$DL.type}</td>
                  <td><a class="zt_color" title='{$DL.title}' style='display:block; width:150px; margin:0 auto; text-align:center; background:none; border:none; cursor:pointer; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; word-break:keep-all;'>{$DL.title}</a></td>
                  <td>{$DL.fatime|date='Y-m-d H:i:s',###}</td>
                  <td>{$DL.faren}</td>
                  <td>{$DL['xianshi']==1 ? '是' : '否'}</td>
                  
              <td>
                <input name='GGPX_{$DL.id}' value='{$DL.paixu}'
              style='width: 50px; text-align: center' />

              </td>
              <td>
                 <a href='/admin/operate/yx_xwxg?id={$DL.id}&cid=65' title='修改公告'><i class="Hui-iconfont">&#xe6df;</i></a>
         
                 <a style="text-decoration: none" class="ml-5" href="javascript:;"onclick="if(confirm('是否确认操作？')) {window.location.href='/admin/operate/yx_xwdel?id={$DL.id}'}" >
							<i class="Hui-iconfont">&#xe6e2;</i>
						</a>
              </td>
                     
                </tr>
              {/volist}
              </tbody>
            </table>
            
          </div>
        </div>
      </div>
    </div>
    <div class="am-btn-group am-btn-group-xs">
            
            </div>
            {$list->render()}
    <input type="submit" class="btn btn-primary radius radius1 btn-primary1"
        value="保存排序" style="margin-left: 20px;"/>
</form>

</div>
		</div>
{/block}{block name="js"}
 <script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript">
    $(function() {
  $('.skin-minimal input').iCheck({
    checkboxClass : 'icheckbox-blue',
    radioClass : 'iradio-blue',
    increaseArea : '20%'
  });
  $("#tab-system").Huitab({
    index : 0
  });
});
</script>

{/block}
